package net.cjw.initsb.service;

import com.github.pagehelper.PageInfo;

import net.cjw.initsb.common.ServiceResult;

public interface BaseServiceI<T> {

	ServiceResult<T> selectOne(T entity);

	ServiceResult<Object> selectAll(Integer page_num, Integer max_result);

	ServiceResult<String> create(T entity);

	ServiceResult<String> update(T entity);

	ServiceResult<String> delete(T entity);

}
